Part Number Hot Search : 
ZMM130 FR206GPT 6LT1G GS25E12 STBC08 BF1202 ST7277 440FS
Product Description
Full Text Search
 

To Download CAP1006-2-AIA-TR Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  smsc cap1005 / cap1006 datasheet revision 1.0 (06-16-09) datasheet product features cap1005 / cap1006 5 and 6 channel capacitive touch sensor general description the cap1006 and cap1005 are multiple channel capacitive touch sensors. the cap1006 contains six (6) individual capacitive touch sensor inputs while the cap1005 contains five (5) sensors. both devices offer programmable sensitivity for use in touch sensor applications. each sensor au tomatically recalibrates to compensate for gradual environmental changes. the cap1005 / cap1006 offers multiple power states operating at low quiescent currents. during the standby mode of operation, one or more capacitive touch sensors are active . the deep sleep mode of oper ation is the lowest power state available drawing 5 ua of current. during this mode, no sensors are active . communications will wake the device. applications ? desktop and notebook pc?s ? lcd monitors ? printers ? appliances features ? six (6) capacitive touch sensor inputs - cap1006 ? five (5) capacitive touch sensor inputs - cap1005 ? programmable sensitivity ? automatic recalibration ? individual thresholds for each button ? flexible capacitive touch sense algorithm ? multiple communication interfaces ?smbus / i 2 c compliant interface (cap1006-1 only) ? smsc bc-link interface (cap1006-2 only) ? spi communications (cap1005 only) ? low power operation ? 5 ua quiescent current in deep sleep ? samples one or more channels in standby ? open drain or push-pull ? available in 10-pin 3mm x 3mm rohs compliant dfn package note: i 2 c is a trademark of nxp semiconductor. bc-link is a trademark of smsc. cap1006 block diagram cap1005 block diagram smbus slave protocol smclk 1 / bc_clk 2 smdata 1 / bc_data 2 vdd gnd alert# 1 / bc_irq# 2 capacitive sensing algorithm cs1 cs2 cs3 cs4 cs5 cs6 1 = cap1006-1 2 = cap1006-2 spi protocol spi_clk spi_mosi vdd gnd spi_miso capacitive sensing algorithm cs1 cs2 cs3 cs4 cs5 spi_cs#
reel size is 4,000 pieces ordering number package features cap1006-1-aia-tr 10-pin dfn 3mm x 3mm (lead free rohs compliant) six capacitive touch sensors, smbus interface CAP1006-2-AIA-TR 10-pin dfn 3mm x 3mm (lead free rohs compliant) six capacitive touc h sensors, bc-link interface cap1005-1-aia-tr 10-pin dfn 3mm x 3mm (lead free rohs compliant) five capacitve touch sensors, full duplex spi interface 5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 2 smsc cap1005 / cap1006 datasheet 80 arkay drive, hauppauge, ny 11788 (631) 435-6000, fax (631) 273-3123 copyright ? 2009 smsc or its subsidiaries. all rights reserved. circuit diagrams and other information relating to smsc produc ts are included as a means of illustrating typical applications. consequently, complete information sufficient for construction purposes is not necessarily given. although the information has been checked and is believed to be accurate, no re sponsibility is assumed for inaccuracies. smsc reserves the right to make changes to specifications and produc t descriptions at any time without notice. contact your local sm sc sales office to obtain the latest specifications before placing your product order. the provision of this inform ation does not convey to the purchaser of the described semicond uctor devices any licenses under any patent rights or other intellectual property rights of smsc or others. all sales are expressly conditional on your agreement to the te rms and conditions of the most recently dated version of smsc's standard terms of sale agreement dated before the date of your order (the "terms of sale agreement"). the pro duct may contain design defects or errors known as anomalies which may cause the product's functions to deviate from published specifications. anomaly sheets are availab le upon request. smsc products are not designed, intended, authorized or warranted for use in any life support or other application where product failure could cause or contribute to personal injury or severe property damage. any and all such uses without prior written approval of an officer of smsc and further testing and/or modification will be fully at the risk of the customer. copies of this document or other smsc literature, as well as the terms of sale agreement, may be obtained by visiting smsc?s website at h ttp://www.smsc.com. smsc is a registered trademark of standard microsystems corporat ion (?smsc?). product names and company na mes are the trademarks of their respective holders. smsc disclaims and excludes any and all warrant ies, including without limi tation any and all implied warranties of merchantabil ity, fitness for a particular purpose, title, a nd against infringement and the like, and any and all warranties arising from any cou rse of dealing or usage of trade. in no event shall smsc be liable for any direct, incidental, indi rect, special, punitive, or cons equential damages; or for lost data, profits, savings or revenues of any kind; regardless of the form of action, whether based on contrac t; tort; negligence of smsc or others; strict liability; breach of wa rranty; or otherwise; whether or not any remedy of buyer is h eld to have failed of its essential purpose, and whether or not smsc has been advised of the possibility of such damages. ordering information
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 3 revision 1.0 (06-16-09) datasheet table of contents chapter 1 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 chapter 2 electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 chapter 3 communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.1 communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.1.1 smbus (i 2 c) communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.1.2 spi communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.1.3 bc-link communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.2 system management bus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.2.1 smbus start bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.2.2 smbus address and rd / wr bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.2.3 smbus data bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.2.4 smbus ack and nack bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.2.5 smbus stop bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.2.6 smbus timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.2.7 smbus and i 2 c compliance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.3 smbus protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.3.1 smbus write byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.3.2 block write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.3.3 smbus read byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.3.4 block read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.3.5 smbus send byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.3.6 smbus receive byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.4 spi interface (cap1005 only). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.4.1 spi normal mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.4.2 spi bi-directional mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.4.3 spi_cs# pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.4.4 address pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.4.5 spi timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.5 normal spi protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.5.1 reset interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.5.2 set address pointer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.5.3 write data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.5.4 read data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.6 bi-directional spi protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.6.1 reset interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.6.2 set address pointer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.6.3 write data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.6.4 read data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.7 bc-link interface (cap1006-2 only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 chapter 4 general description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 4.1 power states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 4.2 capacitive touch sensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 4.2.1 sensing cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 4.2.2 recalibrating sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 4.3 alert# pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 4.3.1 sensor interrupt behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 chapter 5 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 4 smsc cap1005 / cap1006 datasheet 5.1 main status control register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.2 status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.3 noise flag status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.4 sensor delta count registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 5.5 sensitivity control register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 5.6 configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 5.7 sensor enable registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 5.8 sensor configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 5.9 sensor configuration 2 register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 5.10 averaging and sampling configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 8 5.11 calibration activate registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 5.12 interrupt enable register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 5.13 repeat rate enable register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 5.14 multiple touch configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 5.15 recalibration configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 5.16 sensor threshold registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5.17 sensor noise threshold registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 5.17.1 sensor noise threshold 1 register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 5.17.2 sensor noise threshold 2 register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 5.18 standby channel register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 5.19 standby configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 5.20 standby sensitivity register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 5.21 standby threshold register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 5.22 sensor base count registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 5.23 product id register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 5.24 manufacturer id register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 5.25 revision register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 chapter 6 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.1 cap1006 and cap1005 package drawings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2 package marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 chapter 7 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 5 revision 1.0 (06-16-09) datasheet list of figures figure 1.1 cap1006 pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 1.2 cap1005 pin diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 figure 3.1 smbus timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 3.1 spi timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 figure 3.1 example spi bus communication - normal mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 figure 3.2 spi reset interface command - normal mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 figure 3.3 spi set address pointer command - normal mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 figure 3.4 spi write command - normal mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 figure 3.5 spi read command - normal mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 figure 3.6 spi read command - normal mode - full . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 3.7 spi reset interface command - bi-directional mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 3.8 spi set address pointer command - bi-directional mode. . . . . . . . . . . . . . . . . . . . . . . . . . . 23 figure 3.9 spi write data command - bi-directional mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 figure 3.10 spi read data command - bi-directional mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 figure 4.1 system diagram for cap1006 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 4.2 system diagram for cap1005 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 4.3 sensor interrupt behavior - repeat rate enabled. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 figure 4.4 sensor interrupt behavior - no repeat rate enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 figure 6.1 10-pin dfn 3mm x 3mm package drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 figure 6.2 10-pin dfn 3mm x 3mm package dimensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 figure 6.3 10-pin dfn 3mm x 3mm pcb footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 figure 6.4 cap1006 package markings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 6.5 cap1005 package markings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 6 smsc cap1005 / cap1006 datasheet list of tables table 1.1 pin description for cap1006 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 table 1.2 pin description for cap1005 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 table 1.3 pin types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 table 2.1 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 table 2.2 electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 table 3.1 protocol format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 table 3.2 write byte protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 table 3.3 block write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 table 3.4 read byte protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 table 3.5 block read protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 table 3.6 send byte protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 table 3.7 receive byte protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 5.1 register set in hexadecimal order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 5.2 main status control register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 5.3 status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 5.4 noise flag status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 5.5 sensor delta count registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 5.6 data scaling register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 5.7 delta_sense bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 5.8 base_shift bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 5.9 configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 5.10 sensor enable registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 5.11 sensor configuration register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 5.12 max_dur bit decode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 5.13 rpt_rate bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 5.14 sensor configuration 2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 5.15 averaging and sampling configuration register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 5.16 avg bit decode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 table 5.17 cycle_time bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 table 5.18 calibration activate registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 table 5.19 interrupt enable register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 table 5.20 repeat rate enable register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 table 5.21 multiple touch configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 table 5.22 b_mult_t bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 5.23 recalibration configuration registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 5.24 neg_delta_cnt bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 5.25 cal_cfg bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 5.26 sensor threshold registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 5.27 sensor noise threshold registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 table 5.28 csx_bn_th bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 table 5.29 standby channel register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 5.30 standby configuration register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 5.31 stby_avg bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 5.32 stby_cy_time bit decode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 5.33 standby configuration register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 5.34 stby_sense bit decode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 5.35 standby threshold register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 5.36 sensor base count registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 5.37 product id register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 5.38 vendor id register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 5.39 revision register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 7.1 customer revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 7 revision 1.0 (06-16-09) datasheet chapter 1 pin description figure 1.1 cap1006 pin table 1.1 pin description for cap1006 pin number pin name pin function pin type 1 cs1 capacitive touch sensor 1 aio 2 alert# / bc_irq# alert# - active low alert / interr upt output usable for smbus alert (cap1006-1) od (5v) bc_irq# - active low interrupt / optional for bc-link (cap1006-2) od (5v) 3 smdata / bc_data smdata - bi-directional, open-drain smbus data - requires pull-up resistor (cap1006-1) diod (5v) bc_data - bi-directional, open-drain bc-link data - requires pull- up resistor (cap1006-2) dio 4 smclk / bc_clk smclk - smbus clock input - requires pull-up resistor (cap1006-1) di (5v) bc_clk - bc-link clock input (cap1006-2) di (5v) 5 vdd positive power supply power 6 cs6 capacitive touch sensor 6 aio 7 cs5 capacitive touch sensor 5 aio 8 cs4 capacitive touch sensor 4 aio 9 cs3 capacitive touch sensor 3 aio gnd 10 9 8 7 6 cs3 cs2 1 2 3 4 5 cs4 cs1 alert# / bc_irq# smdata / bc_data vdd smclk / bc_clk cs5 cs6 cap1006 3mm x 3mm dfn
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 8 smsc cap1005 / cap1006 datasheet 10 cs2 capacitive touch sensor 2 aio bottom pad gnd ground power figure 1.2 cap1005 pin diagram table 1.2 pin description for cap1005 pin number pin name pin function pin type 1 spi_cs# active low chip-select for spi bus di (5v) 2 spi_mosi spi_mosi - spi maste r-out-slave-in port di (5v) 3 spi_miso spi master-in-slave-out data port do 4 spi_clk spi clock input di (5v) 5 vdd positive power supply power 6 cs5 capacitive touch sensor 5 aio 7 cs4 capacitive touch sensor 4 aio 8 cs3 capacitive touch sensor 3 aio 9 cs2 capacitive touch sensor 2 aio table 1.1 pin description for cap1006 (continued) pin number pin name pin function pin type gnd 10 9 8 7 6 cs2 cs1 1 2 3 4 5 cs3 spi_miso vdd spi_clk cs4 cs5 cap1005 3mm x 3mm dfn spi_mosi spi_cs#
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 9 revision 1.0 (06-16-09) datasheet the pin types are described in detail below. all pins labelled with (5v) are 5v tolerant. application note: for the 5v tolerant pins that have a pull-up re sistor, the pull-up voltage must not exceed 3.6v when the cap1005 / cap1006 is unpowered. . 10 cs1 capacitive touch sensor 1 aio bottom pad gnd ground power table 1.3 pin types pin type description power this pin is used to supply power or ground to the device. di digital input - this pin is used as a digital input. this pin is 5v tolerant. aio analog input / output -this pin is used as an i/o for analog signals. diod digital input / open drain output- this pin is used as a digital i/o. when it is used as an output, it is open drain and requires a pull-up resistor . this pin is 5v tolerant. od open drain digital output - this pin is used as a digital output. it is open drain and requires a pull-up resistor. this pin is 5v tolerant. do push-pull digital output - this pin is used as a digital output and can sink and source current. dio push-pull digital input / output - this pin is used as an i/o for digital signals. table 1.2 pin description for cap1005 (continued) pin number pin name pin function pin type
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 10 smsc cap1005 / cap1006 datasheet chapter 2 electrical specifications note 2.1 stresses above those listed could cause permanent damage to the device. this is a stress rating only and functional operation of the device at any other condition above those indicated in the operation sections of this specification is not implied. note 2.2 for the 5v tolerant pins that have a pull- up resistor, the voltage difference between v pullup and v dd must never exceed 3.6v. note 2.3 the package power dissipation specification assumes a recommended thermal via design consisting of a 2x2 matrix of 0.3mm (12mil) vias at 1.0mm pitch c onnected to the ground plane with a 1.6 x 2.3mm thermal landing. table 2.1 absolute maximum ratings voltage on 5v tolerant pins (v pullup ) -0.3 to 5.5 v voltage on 5v tolerant pins (v pullup - v dd ) note 2.2 -0.3 to 3.6 v voltage on vdd pin -0.3 to 4 v voltage on any other pin to gnd -0.3 to vdd + 0.3 v package power dissipation up to t a = 85c for 10 pin dfn (see note 2.3 ) 0.7 w junction to ambient ( ja ) 77.7 c/w operating ambient temperature range -40 to 125 c storage temperature range -55 to 150 c esd rating, all pins, hbm 8000 v table 2.2 electrical specifications v dd = 3v to 3.6v, t a = 0c to 100c, all typical values at t a = 27c unless otherwise noted. characteristic symbol min typ max unit conditions dc power supply voltage v dd 3.0 3.3 3.6 v supply current i stby 135 170 ua standby state active, 2 sensors monitored default conditions (8 avg, 70ms cycle time) i dsleep tbd tbd ua deep sleep state active no communications t a < 85c i dd 300 500 ua average current capacitive sensing active capacitive touch sensor base capacitance c base 5 50 pf pad untouched
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 11 revision 1.0 (06-16-09) datasheet detectable capacitive shift c touch 0.1 2 pf pad touched i/o pins - spi_cs#, spi _mosi, and alert# pins output low voltage v ol 0.4 v i sink_io = 4ma input high voltage v ih 2.0 v input low voltage v il 0.8 v leakage current i leak 5 ua powered or unpowered t a < 85c smdata / bc_data / spi_msio / spi_mis o and smclk / bc_clk / spi_clk pins output low voltage v ol 0.4 v i sink_io = 8ma output high voltage v oh v dd - 0.4 vi source_io = 8ma input high voltage v ih 2.0 v input low voltage v il 0.8 v leakage current i leak 5 ua powered or unpowered t a < 85c pull-up voltage < 3.6v smbus first communication t smb 15 ms smbus timing (cap1006-1 only) input capacitance c in 5pf clock frequency f smb 10 400 khz spike suppression t sp 50 ns bus free time start to stop t buf 1.3 us setup time: start t su:sta 0.6 us setup time: stop t su:stp 0.6 us data hold time t hd:dat 0.6 6 us data setup time t su:dat 0.6 72 us clock low period t low 1.3 us clock high period t high 0.6 us clock/data fall time t fall 300 ns min = 20+0.1c load ns clock/data rise time t rise 300 ns min = 20+0.1c load ns capacitive load c load 400 pf per bus line bc-link timing (cap1006-2 only) table 2.2 electrical specifications (continued) v dd = 3v to 3.6v, t a = 0c to 100c, all typical values at t a = 27c unless otherwise noted. characteristic symbol min typ max unit conditions
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 12 smsc cap1005 / cap1006 datasheet clock period t clk 250 ns data hold time t hd:dat 0ns data setup time t su:dat 30 ns data must be valid before clock clock duty cycle duty 40 50 60 % spi timing (cap1005 only) clock period t p 250 ns clock low period t low 0.4 x t p 0.6 x t p ns clock high period t high 0.4 x t p 0.6 x t p ns clock rise / fall time t rise / t fall 0.1 x t p ns data output delay t d:clk 10 ns data setup time t su:dat 20 ns data hold time t hd:dat 20 ns spi_cs# to spi_clk setup time t su:cs 0ns wake time t wake 10 20 us spi_cs# asserted to clk assert table 2.2 electrical specifications (continued) v dd = 3v to 3.6v, t a = 0c to 100c, all typical values at t a = 27c unless otherwise noted. characteristic symbol min typ max unit conditions
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 13 revision 1.0 (06-16-09) datasheet chapter 3 communications 3.1 communications the cap1006-1 communicates using the smbus or i 2 c protocol. the cap1006-2 communicates using the 2-wire proprietary bc-link protocol. th e cap1005 communicates using 4-wire spi bus. regardless of the communications mechanism, the device functionality remains unchanged. 3.1.1 smbus (i 2 c) communications when configured to communicate via the smbus, the cap1005 / cap1006 supports the following protocols: send byte, receive byte, read byte, and write byte. in addition, the device supports i 2 c formatting for block read and block write protocols. the spi_cs# pin is not used and any data presented to this pin will be ignored. see section 3.2 and section 3.3 for more information on the smbus bus and protocols respectively. 3.1.2 spi communications when configured to communicate via the spi bus , the cap1005 / cap1006 supports both bi- directional 3-wire and normal 4-wire protocols and uses the spi_cs# pin to enable communications. see section 3.4 and section 3.6 for more information on the spi bus and protocols respectively. 3.1.3 bc-link communications when bc-link communications are used, the cap1005 / cap1006 supports the read byte protocol and the write byte protocol. see section 3.7 for more information on the bc-link bus and protocols respectively. application note: upon power up, the cap1005 / cap1006 will not respond to any communications for up to 15ms. after this time, full functionality is available. 3.2 system management bus the cap1005 / cap1006 communicates with a host controller, such as an smsc sio, through the smbus. the smbus is a two-wire serial communicat ion protocol between a computer host and its peripheral devices. a detailed timing diagram is shown in figure 3.1 . stretching of the smclk signal is supported; however, the cap1005 / cap1006 will not stretch the clock signal.
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 14 smsc cap1005 / cap1006 datasheet 3.2.1 smbus start bit the smbus start bit is defined as a transition of th e smbus data line from a logic ?1? state to a logic ?0? state while the smbus clock line is in a logic ?1? state. 3.2.2 smbus address and rd / wr bit the smbus address byte consists of the 7-bit client address followed by the rd / wr indicator bit. if this rd / wr bit is a logic ?0?, then the smbus host is wr iting data to the client device. if this rd / wr bit is a logic ?1?, then the smbus host is reading data from the client device. the cap1006-1 responds to smbus address 0101_000(r/w). 3.2.3 smbus data bytes all smbus data bytes are sent most significant bit first and composed of 8-bits of information. 3.2.4 smbus ack and nack bits the smbus client will acknowledge all data bytes that it receives. this is done by the client device pulling the smbus data line low after the 8th bit of each byte that is transmitted. this applies to both the write byte and block write protocols. the host will nack (not acknowledge) the last data by te to be received from the client by holding the smbus data line high after the 8th data bit has been sent. for the block read protocol, the host will ack each data byte that it rece ives except the last data byte. 3.2.5 smbus stop bit the smbus stop bit is defined as a transition of the smbus data line from a logic ?0? state to a logic ?1? state while the smbus clock line is in a logic ?1? state. when the cap1005 / cap1006 detects an smbus stop bit, and it has been communicating with t he smbus protocol, it will reset its client interface and prepare to receive further communications. 3.2.6 smbus timeout the cap1005 / cap1006 includes an smbus timeout feature. following a 30ms period of inactivity on the smbus where the smclk pin is held low, the device will timeout and reset the smbus interface. figure 3.1 smbus timing diagram smdata smclk t low t rise t high t fall t buf t hd:sta p s s - start condition p - stop condition t hd:dat t su:dat t su:sta t hd:sta p t su:sto s
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 15 revision 1.0 (06-16-09) datasheet the timeout function defaults to disabled. it can be enabled by setting the timeout bit in the configuration register (see section 5.6 ). 3.2.7 smbus and i 2 c compliance the major difference between smbus and i 2 c devices is highlighted here. for complete compliance information refer to the smbus 2.0 specification. 1. minimum frequency for smbus communications is 10khz. 2. the client protocol will reset if t he clock is held low longer than 30ms. 3. the client protocol will reset if both the clock and the data line are high for longer than 150us (idle condition). 4. i 2 c devices do not support the alert response addre ss functionality (which is optional for smbus). 5. i 2 c devices support block read and write differently. i 2 c protocol allows for unlimited number of bytes to be sent in either direction. the smbus protocol requires that an additional data byte indicating number of bytes to read / write is transmitted. the cap1005 / cap1006 supports i 2 c formatting only. 3.3 smbus protocols the cap1005 / cap1006 is smbus 2.0 compatible and supports send byte, read byte, block read, receive byte as valid protocols as shown below. the cap1005 / cap1006 also supports the i 2 c block read and block write protocols. fi nally, it will respond to the alert response address protocol but is not in full compliance. all of the below protocols use the convention in ta b l e 3 . 1 . 3.3.1 smbus write byte the write byte is used to write one byte of data to a specific register as shown in table 3.2 . 3.3.2 block write the block write is used to write multiple data byte s to a group of contiguous registers as shown in table 3.3 . it is an extension of the write byte protocol. application note: when using the block write protocol, the in ternal address pointer will be automatically incremented after every data byte is received. it will wrap from ffh to 00h. table 3.1 protocol format data sent to device data sent to the host data sent data sent table 3.2 write byte protocol start slave address wr ack register address ack register data ack stop 1 ->0 0101_000 0 0 xxh 0 xxh 0 0 -> 1
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 16 smsc cap1005 / cap1006 datasheet 3.3.3 smbus read byte the read byte protocol is used to read one byte of data from the registers as shown in table 3.4 . 3.3.4 block read the block read is used to read multiple data by tes from a group of contig uous registers as shown in table 3.5 . it is an extension of the read byte protocol. application note: when using the block read protocol, the internal address pointer will be automatically incremented after every data byte is received. it will wrap from ffh to 00h. 3.3.5 smbus send byte the send byte protocol is used to set the internal address register pointer to the correct address location. no data is transferred during the send byte protocol as shown in ta b l e 3 . 6 . table 3.3 block write protocol start slave address wr ack register address ack register data ack 1 ->0 0101_000 0 0 xxh 0 xxh 0 register data ack register data ack . . . register data ack stop xxh 0 xxh 0 . . . xxh 0 0 -> 1 table 3.4 read byte protocol start slave address wr ack register address ack start client address rd ack register data nack stop 1->0 0101_000 0 0 xxh 0 1 ->0 0101_000 1 0 xxh 1 0 -> 1 table 3.5 block read protocol start slave address wr ack register address ack start slave address rd ack register data 1->0 0101_000 0 0 xxh 0 1 ->0 0101_000 1 0 xxh ack register data ack register data ack register data ack . . . register data nack stop 0 xxh 0 xxh 0 xxh 0 . . . xxh 1 0 -> 1 table 3.6 send byte protocol start slave address wr ack register address ack stop 1 -> 0 0101_000 0 0 xxh 0 0 -> 1
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 17 revision 1.0 (06-16-09) datasheet 3.3.6 smbus receive byte the receive byte protocol is used to read data from a register when the internal register address pointer is known to be at the right location (e.g. set via send byte). this is used for consecutive reads of the same register as shown in ta b l e 3 . 7 . 3.4 spi interface (cap1005 only) the smbus has a predefined packet structure, the spi doe s not. the spi bus can operate in two modes of operation, normal 4-wir e mode and bi-directional 3-wire mode. all spi commands consist of 8-bit packets set to a specific slave device (identified by the cs pin). the spi bus will latch data on the rising edge of the clock and the clock and data both idle high. all commands are supported via both operating m odes. the supported commands are: reset serial interface, set address pointer, write command and r ead command. note that all other codes received during the command phase are ignored and have no effect on the oper ation of the device. 3.4.1 spi normal mode the spi bus can operate in two modes of operation, normal and bi-directional mode. in the normal mode of operation, there ar e dedicated input and output data lines. the host communicates by sending a command along the cap1005 / cap1006 spi_mosi data line and reading data on the spi_miso data line. both communications occur simultaneously which allows for larger through put of data transactions. all basic transfers consist of two 8 bit transactions from the master device while the slave device is simultaneously sending data at the current address pointer value. data writes consist of two or more 8-bit tran sactions. the host sends a specific write command followed by the data to write the address pointer. data reads consist of one or more 8-bit transactions. table 3.7 receive byte protocol start slave address rd ack register data nack stop 1 -> 0 0101_000 1 0 xxh 1 0 -> 1 figure 3.1 spi timing spi_msio or spi_mosi or spi_miso spi_clk t low t rise t high t fall t d:clk t hd:dat t su:dat t p
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 18 smsc cap1005 / cap1006 datasheet the host sends the specific read data command and continues clocking for as many data bytes as it wishes to receive. 3.4.2 spi bi-d irectional mode in the bi-directional mode of operation, the spi data signals are combined into the spi_msio line, which is shared for data received by the device and transmitted by the device. the protocol uses a simple handshake and turn around sequence for data communications based on the number of clocks transmitted during each phase. all basic transfers consist of two 8 bit transactions. the first is an 8 bit command phase driven by the master device. the second is by an 8 bit data phase driven by the master for writes, and by the cap1005 / cap1006 for read operations. the auto increment feature of the address pointer a llows for successive reads or writes. the address pointer will return to 00h after reaching ffh. 3.4.3 spi_cs# pin the spi bus is a single master, multiple slave seri al bus. each slave has a dedicated cs pin (chip select) that the master asserts low to identify th at the slave is being addressed. there are no formal addressing options. 3.4.4 address pointer all data writes and reads are accessed from the curre nt address pointer. in both bi-directional mode and full duplex mode, the address pointer is automatically incremented following every read command or every write command. the address pointer will return to 00h after reaching ffh. 3.4.5 spi timeout the cap1005 / cap1006 does not detect any timeout conditions on the spi bus. 3.5 normal spi protocols when operating in normal mode, the spi bus internal address pointer is incremented depending upon which command has been transmitted. multiple co mmands may be transmitted sequentually so long as the spi_cs# pin is asserted low. figure 3.1 shows an example of this operation.
smsc cap1005 / cap1006 19 revision 1.0 (06-16-09) datasheet 5 and 6 channel capacitive touch sensor datasheet 3.5.1 reset interface resets the serial interface whenever two successive 7ah codes ar e received. regardless of the current phase of the transaction - command or data, the receipt of the successive reset commands resets the serial communication interfac e only. all other functions are not affect ed by the reset operation. figure 3.1 example spi bus communication - normal mode spi_cs# spi_miso spi_mosi spi address pointer spi data output buffer register address / data 7ah xxh (invalid) xxh (invalid) yyh (invalid) 7ah 7dh 41h yyh (invalid) 7eh 66h xxh (invalid) 45h 7dh 41h aah (invalid) aah (invalid) 7fh 7fh 55h (invalid) 66h 7fh aah 7dh 43h 40h 78h 7fh xxh (invalid) 7fh 56h 40h / 56h 41h / 45h 42h / aah 43h / 55h 44h / 80h 45h / 43h 46h / 78h 41h 45h 40h / 56h 41h / 45h 42h / aah 43h / 55h 44h / 80h 45h / 43h 46h / 78h 42h aah 40h / 56h 41h / 66h 42h / aah 43h / 55h 44h / 80h 45h / 43h 46h / 78h 41h 55h 7fh aah 40h / 56h 41h / 66h 42h / aah 43h / 55h 44h / 80h 45h / 43h 46h / 78h 41h 66h 42h aah 40h / 56h 41h / 66h 42h / aah 43h / 55h 44h / 80h 45h / 43h 46h / 78h 40h / 56h 41h / 66h 42h / aah 43h / 55h 44h / 80h 45h / 43h 46h / 78h 40h / 56h 41h / 66h 42h / aah 43h / 55h 44h / 80h 45h / 43h 46h /78h 44h 80h 40h 80h 40h 56h 40h / 56h 41h / 66h 42h / aah 43h / 55h 44h / 80h 45h / 43h 46h /78h 43h 55h 7fh 7fh 55h 40h / 56h 41h / 66h 42h / aah 43h / 55h 44h / 80h 45h / 43h 46h /78h 80h 45h 43h 46h 78h 40h / 56h 41h / 66h 42h / aah 43h / 55h 44h / 80h 45h / 43h 46h / 78h 00h xxh indicates spi address pointer incremented
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 20 smsc cap1005 / cap1006 datasheet 3.5.2 set address pointer the set address pointer command sets the address pointer for subsequent read s and writes of data. the pointer is set on the rising edge of the final data bit. at the same time, the data that is to be read is fetched and loaded into the internal out put buffer but is not transmitted. 3.5.3 write data the write data protocol updates th e contents of the register referenced by the address pointer. as the command is processed, the data to be read is fetc hed and loaded into the internal output buffer but not transmitted. then, the register is updated with the data to be written. finally, the address pointer is incremented. figure 3.2 spi reset interface command - normal mode figure 3.3 spi set address pointer command - normal mode master spdout spi_mosi spi_cs# spi_clk reset - 7ah reset - 7ah invalid register data 00h ? internal data buffer empty spi_miso master drives slave drives ?0? ?1? ?1? ?1? ?1? ?0? ?1? ?0? ?0? ?1? ?1? ?1? ?1? ?0? ?1? ?0? master spdout spi_mosi register address spi_cs# spi_clk set address pointer ? 7dh unknown, invalid data unknown, invalid data spi_miso master drives slave drives address pointer set ?0? ?0? ?1? ?1? ?1? ?1? ?1? ?1?
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 21 revision 1.0 (06-16-09) datasheet 3.5.4 read data the read data protocol is used to read data fr om the device. during t he normal mode of operation, while the device is receiving data, the cap1005 / cap1006 is simultaneously transmitting data to the host. for the set address commands and the write data commands, this data may be invalid and it is recommended that the read data command is used. figure 3.4 spi write command - normal mode figure 3.5 spi read command - normal mode master spdout spi_mosi data to write spi_cs# spi_clk write command ? 7eh unknown, invalid data old data at current address pointer spi_miso master drives slave drives 1. data written at current address pointer 2. address pointer incremented master spdout spi_mosi master drives slave drives spi_clk first read command ? 7fh spi_cs# invalid, unknown data * spi_miso ?0? ?1? ?1? ?1? ?1? ?1? ?1? ?1? subsequent read commands ? 7f data at current address pointer address pointer incremented ** ?0? ?1? ?1? ?1? ?1? ?1? ?1? ?1? * the first read command after any other command will return invalid data for the first byte. subsequent read commands w ill return the data at the current address pointer ** the address pointer is incremented 8 clocks after the read command has been received. therefore continually sending read commands w ill result in each comm and reporting new data. once read commands have been finished, the last data byte w ill be read during the next 8 clocks for any command
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 22 smsc cap1005 / cap1006 datasheet 3.6 bi-directional spi protocols 3.6.1 reset interface resets the serial interface whenever two succes sive 7ah codes are received. regardless of the current phase of the transaction - command or data, the receipt of the successive reset commands resets the serial communication interface only. a ll other functions are not affected by the reset operation. 3.6.2 set address pointer sets the address pointer to the register to be accessed by a read or write command. this command overrides the auto-incrementing of the address pointer. figure 3.6 spi read command - normal mode - full figure 3.7 spi reset interface command - bi-dir ectional mode mast er spdout spi_mosi master drives slave drives spi_clk read command ? 7fh spi_cs# data at previously set register address = current address pointer spi_miso ?0? ?1? ?1? ?1? ?1? ?1? ?1? ?1? data at previously set register address = current address pointer (spi) xxh 1. register read address updated to current spi read address pointer 1. register data loaded into output buffer = data at current address pointer 1. output buffer transmitted = data at previous address pointer + 1 = current address pointer 1. register read address incremented = current address pointer + 1 1. spi read address incremented = new current address pointer 2. register read address incremented = current address pointer +1 register data loaded into output buffer = data at current address pointer + 1 1. output buffer transmitted = data at current address pointer + 1 2. flag set to increment spi read address at end of next 8 clocks ?0? ?1? ?1? ?1? ?1? ?1? ?1? ?1? data at previously set register address = current address pointer (spi) 1. register data loaded into output buffer = data at current address pointer 1. output buffer transmitted = data at previous register address pointer + 1 = current address pointer 1. output buffer transmitted = data at current address pointer + 1 2. flag set to increment spi read address at end of next 8 clocks subsequent read commands ? 7fh 1. register read address updated to current spi read address pointer. 2. register read address incremented = current address pointer +1 ? end result = register address pointer doesn?t change master spdout spi_msio spi_cs# spi_clk reset - 7ah reset - 7ah ?1? ?1? ?1? ?1? ?1? ?0? ?0? ?0? ?1? ?1? ?1? ?1? ?1? ?0? ?0? ?0?
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 23 revision 1.0 (06-16-09) datasheet 3.6.3 write data writes data value to the register address stored in the address pointer. performs auto increment of address pointer after the data is loaded into the register. 3.6.4 read data reads data referenced by the address pointer. performs auto increment of address pointer after the data is transferred to the master. 3.7 bc-link interfac e (cap1006-2 only) the bc-link is a proprietary bus developed to allow communication between a host controller device to a companion device. this device uses this se rial bus to read and write registers and for interrupt figure 3.8 spi set address pointe r command - bi-d irectional mode figure 3.9 spi write data co mmand - bi-dir ectional mode figure 3.10 spi read data command - bi-directional mode master spdout spi_msio register address spi_cs# spi_clk set address pointer ? 7dh ?0? ?1? ?0? ?1? ?1? ?1? ?1? ?1? master spdout spi_msio register write data spi_cs# spi_clk write command ? 7eh ?1? ?1? ?1? ?1? ?1? ?1? ?0? ?0? mast er spdout spi_msio master drives slave drives indeterminate register read data spi_clk read command ? 7fh spi_cs# ?0? ?1? ?1? ?1? ?1? ?1? ?1? ?1?
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 24 smsc cap1005 / cap1006 datasheet processing. the interface uses a data port concep t, where the base interface has an address register, data register and a control register, defined in the smsc?s 8051?s sfr space. refer to documentation for the bc-link comptabile host controller for details on how to access the cap1005 / cap1006 via the bc-link interface.
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 25 revision 1.0 (06-16-09) datasheet chapter 4 general description the cap1006 / 1005 are multiple channel capacitive touch sensors. the cap1006 contains six (6) individual capacitive touch sensor inputs while the cap1005 contains five (5) sensors. both devices offer programmable sensitivity for use in touch sensor applications. each sensor automatically recalibrates to compensate for gradual environmental changes. the cap1005 / cap1006 offers multiple power stat es operating at low quiescent currents during its deep sleep state. it can monitor one or more channels while in a lower power state and respond to communications normally. the device communicates with a host controller using the spi bus (cap1005 only), smsc bc-link bus (cap1006-2 only), or via smbus / i 2 c (cap1006-1 only). the host controller may poll the device for updated information at any time or it may configur e the device to flag an interrupt whenever a touch is detected on any sensor. a typical system diagram fo r the cap1006 is shown in figure 4.1 and a system diagram for the cap1005 is shown in figure 4.2 . figure 4.1 system diagram for cap1006 cap1006 cs6 smdata 1 / bc_data 2 smclk 1 / bc_clk 2 embedded controller vdd alert# cs4 cs2 cs5 cs3 cs1 touch button touch button touch button touch button touch button touch button 1 = cap1006-1 2 = cap1006-2
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 26 smsc cap1005 / cap1006 datasheet 4.1 power states the cap1005 / cap1006 has three operating states depending on the status of the stby and dsleep bits. when the device tr ansitions between power states, previously detected touches (for inactive channels) are cleared and the status bits reset. 1. fully active - the device is fully active. it is monitoring all active capacitive sensor channels. 2. standby - the device is in a lower power state. it will measure a programmable number of channels (as determined by the standby channel register - default none). interrupts will still be generated based on the active channels. the device will st ill respond to communications normally and can be returned to the fully active state of operation by clearing the stby bit. 3. deep sleep - the device is in its lowest power st ate. it is not monitori ng any capacitive sensor channels. it can be awakened by smbus or spi co mmunications targeting the device (which will cause the dsleep bit to be automatically cleared). application note: the cap1006-2, which communicates using th e bc-link protocol, does not support deep sleep. figure 4.2 system diagram for cap1005 cap1005 spi_clk spi_cs# embedded controller vdd spi_miso cs4 cs2 cs5 cs3 cs1 touch button touch button touch button touch button touch button spi_mosi
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 27 revision 1.0 (06-16-09) datasheet 4.2 capacitive touch sensing the cap1005 / cap1006 contains six (6) (cap1006) or five (5) (cap1005) independent capacitive touch sensor inputs. each sensor has dynamic range to detect a change of capacitance due to a touch. additionally, each sensor ca n be configured to be automatical ly and routinely re-calibrated. 4.2.1 sensing cycle each capacitive touch sensor has controls to be activated and included in the sensing cycle. when the device is active, it automatic ally initiates a sensing cycle and repeats the cycle every time it finishes. the cycle polls through each active sensor starting with cs1 and extending through cs6. as each capacitive touch sensor is polled, its measur ement is compared against a baseline ?not touched? measurement. if the delta measurement is lar ge enough, then a touch is detected and an interrupt generated. the sensing cycle time is programmable (see section 4.3 ). 4.2.2 recalibrating sensors each sensor is regularly recalibrated at an adjustab le rate. by default, the recalibration routine stores the average 256 previous measurements and periodi cally updates the base ?not touched? setting for the capacitive touch sensor input. it is possible that the device loses sensitivity to a touch. this may happen as a result of a noisy environment, an accidental recalibration during a touch, or other environmental changes. when this occurs, then the base untouched sensor may genera te negative delta count values. the device will detect this condition based on a programmable num ber of consecutive negative delta readings. when it detects the condition, the cap1005 / cap1006 will automatically re-calibrate the base-count settings. during this recalibration, the device will not respond to touches. 4.3 alert# pin the alert# pin is an active low output that is driven when an interrupt event is detected. whenever an interrupt is gen erated, the int bit (see section 5.1 ) is set. the alert# pin is cleared when int bit is cleared by the user. additionally, w hen the int bit is cleared by the user, status bits are only cleared if no touch is detected. 4.3.1 sensor interrupt behavior the sensor interrupts are generated in one of two ways: 1. an interrupt is generated when a touch is detected and when a release is detected (see figure 4.4 ). 2. if the repeat rate is enabled (see section 5.6 ), then, so long as the touch is held, another interrupt will be generated based on the programmed repeat rate (see figure 4.3 ). when the repeat rate is enabled, the device uses an additional control called mpress that determines whether a touch is flagged as a simple ?touch? or a ?press and hold?. the mpress[3:0] bits set a minimum press timer. when the button is touched the timer begins. if the sensor is released before the minimum press timer expires, then it is flagged as a touch and an interr upt is generated upon the release. if the sensor detects a touch for longer th an this timer value, then it is flagged as a ?press and hold? event. so long as the touch is held , interrupts will be generated at the programmed repeat rate and upon a release.
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 28 smsc cap1005 / cap1006 datasheet application note: the host may need to poll the device twice to determine that a release has been detected. figure 4.3 sensor interrupt behavior - repeat rate enabled figure 4.4 sensor interrupt behavior - no repeat rate enabled touch detected alert pin / int bit button status smbus write to int bit polling cycle (35ms) button repeat rate (175ms) interrupt on touch button repeat rate (175ms) button repeat rate (175ms) interrupt on release touch detected alert pin / int bit button status smbus write to int bit polling cycle (35ms) interrupt on touch interrupt on release
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 29 revision 1.0 (06-16-09) datasheet chapter 5 register description the registers shown in ta b l e 5 . 1 are accessible through the communications protocol. an entry of ?-? indicates that the bit is not used and will always read ?0?. table 5.1 register set in hexadecimal order register address r/w register name function default value page 00h r/w main status control controls general power states and power dissipation 00h page 31 03h r sensor status returns the state of the sampeld capacative touch sensor 00h page 32 0ah r noise flag status stores the noise flags for sensors 00h page 32 10h r sensor 1 delta count stores the delta count for cs1 00h page 33 11h r sensor 2 delta count stores the delta count for cs2 00h page 33 12h r sensor 3 delta count stores the delta count for cs3 00h page 33 13h r sensor 4 delta count stores the delta count for cs4 00h page 33 14h r sensor 5 delta count stores the delta count for cs5 00h page 33 15h r sensor 6 delta count stores the delta count for cs6 00h page 33 1fh r/w sensitivity control controls the sensitivity of the threshold and delta counts and data scaling of the base counts 2fh page 33 20h r/w configuration controls general functionality 20h page 35 21h r/w sensor enable controls whether the capacitive touch sensor inputs are sampled 3fh page 35 22h r/w sensor configuration controls reset delay and auto-repeat delay for sensors operating in the full power state a4h page 36 23h r/w sensor configuration 2 controls the mpress controls for all sensors 07h page 38 24h r/w averaging and sampling config controls averaging and sampling window 1dh page 38 26h r/w calibration activate activates manual re-calibration for capacative touch sensors ffh page 40 27h r/w interrupt enable enables interrupts associated with capacative touch sensors 3fh page 40 28h r/w repeat rate enable enables repeat rate for capacative touch sensors 3fh page 41 2ah r/w multiple press configuration determines the number of simultaneous touches to flag a multiple touch condition 80h page 41 2fh r/w recalibration configuration determines re-calibration timing and sampling window 8bh page 42
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 30 smsc cap1005 / cap1006 datasheet 30h r/w sensor 1 threshold stores the delta count threshold to determine a touch for capacitive touch sensor 1 40h page 43 31h r/w sensor 2 threshold stores the delta count threshold to determine a touch for capacitive touch sensor 2 40h page 43 32h r/w sensor 3 threshold stores the delta count threshold to determine a touch for capacitive touch sensor 3 40h page 43 33h r/w sensor 4 threshold stores the delta count threshold to determine a touch for capacitive touch sensor 4 40h page 43 34h r/w sensor 5 threshold stores the delta count threshold to determine a touch for capacitive touch sensor 5 40h page 43 35h r/w sensor 6 threshold stores the delta count threshold to determine a touch for capacitive touch sensor 6 40h page 43 38h r/w sensor noise threshold 1 stores controls for selecting the noise threshold for sensors 1 - 4 55h page 44 39h r/w sensor noise threshold 2 stores controls for selecting the noise threshold for sensors 5 - 6 55h page 44 standby configuration registers 40h r/w standby channel controls which sensors are enabled while in standby 00h page 45 41h r/w standby configuration controls averaging and cycle time while in standby 1dh page 45 42h r/w standby sensitivity controls sensitivity settings used while in standby 02h page 47 43h r/w standby threshold stores the touch detection threshold for active sensors in standby 40h page 47 50h r sensor 1 base count stores the reference count value for sensor 1 c8h page 48 51h r sensor 2 base count stores the reference count value for sensor 2 c8h page 48 52h r sensor 3 base count stores the reference count value for sensor 3 c8h page 48 53h r sensor 4 base count stores the reference count value for sensor 4 c8h page 48 54h r sensor 5 base count stores the reference count value for sensor 5 c8h page 48 55h r sensor 6 base count stores the reference count value for sensor 6 c8h page 48 table 5.1 register set in hexadecimal order (continued) register address r/w register name function default value page
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 31 revision 1.0 (06-16-09) datasheet during power-on-reset (por), the default values are stored in the registers. a por is initiated when power is first applied to the part and the vo ltage on the vdd supply surpasses the por level as specified in the electrical charac teristics. any reads to undefined registers will return 00h. writes to undefined registers will not have an effect. 5.1 main status control register the main status and control register contro ls the primary power state of the device. bit 5 - stby - enables standby. ? ?0? (default) - sensor scanning is active. ? ?1? - capacitive touch sensor scanning is limited to the sensors set in the standby channel register (see section 5.18 ). the status registers will not be cleared until read. sensors that are no longer sampled will flag a release and then remain in a non-touched state. bit 4 - dsleep - enables deep sleep by deactivating all functions. this bit will be cleared when spi or smbus are received targeting the cap1005 / c ap1006. if the cap1005 / cap1006 is configured to communicate using the bc-link protocol, then this bit is ignored. ? ?0? (default) - sensor scanning is active. ? ?1? - all sensor scanning is disabled. the status registers are automatically cleared and the int bit is cleared. bit 0 - int - indicates that there is an interrupt. this bit is only set if the alert# pin has been asserted. if a channel detects a touch and its associated interrupt enable bit is not set to a logic ?1? then no action is taken. this bit is cleared by writing a logic ?0? to it. when this bit is cleared, the alert# pin will be deasserted and all status registers will be cleared if the condition has been removed. if the wake/spi_mosi pin is asserted as a result of a t ouch detected while in standby, it wil l likewise be deasserted when this bit is cleared. note that this pin is not driven when communicating via the 4-wire spi protocol ? ?0? - no interrupt pending. fdh r product id cap1006 stores a fixed value that identifies each product 44h page 48 product id cap1005 stores a fixed value that identifies each product 45h feh r manufacturer id stores a fixed value that identifies smsc 5dh page 49 ffh r revision stores a fixed value that represents the revision number 80h page 49 table 5.2 main status control register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 00h r/w main status control - - stby dsleep - - - int 00h table 5.1 register set in hexadecimal order (continued) register address r/w register name function default value page
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 32 smsc cap1005 / cap1006 datasheet ? ?1? - a touch has been detected on one or more channels and the interr upt has been asserted. 5.2 status registers the sensor status registers store status bits that indicate a touc h has been detected. a value of ?0? in any bit indicates that no touch has been detected. a value of ?1? in any bit indicates that a touch has been detected. all status bits are cleared when the device enters the deep sleep (dsleep = ?1? - see section 5.1 ). all status bits are cleared when the int bit is cleared and if a touch on the respective capacitive touch sensor is no longer present. if a touch is still detected, then the bits will not be cleared (but this will not cause the interrupt to be asserted - see section 5.6 ). bit 5 - cs6 - indicates that a touch was detected on sensor 6. bit 4 - cs5 - indicates that a touch was detected on sensor 5. bit 3 - cs4 - indicates that a touch was detected on sensor 4. bit 2 - cs3 - indicates that a touch was detected on sensor 3. bit 1 - cs2 - indicates that a touch was detected on sensor 2. bit 0 - cs1 - indicates that a touch was detected on sensor 1. 5.3 noise flag status registers the noise flag status registers store status bits that are gener ated from the analog block if the detected noise is above the operatin g region of the analog detector. th ese bits indicate that the most recently received data from the sensor is invalid and should not be used for touch detection. furthermore, so long as the bit is set for a partic ular channel, no decisions are made with the data. a touch is not detected, and a release is not detected. these bits are not sticky and will be cleared au tomatically if the analog block does no t report a noise error. table 5.3 status registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 03h r sensor status - - cs6 cs5 cs4 cs3 cs2 cs1 00h table 5.4 noise flag status registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 0ah r noise flag status --cs6_ noise cs5_ noise cs4_ noise cs3_ noise cs2_ noise cs1_ noise 00h
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 33 revision 1.0 (06-16-09) datasheet 5.4 sensor delta count registers the sensor delta count registers store the delta co unt that is compared against the threshold used to determine if a touch has been detected. the count value represents a change in input due to the capacitor associated with a touch on one of the s ensors and is referenced to a calibrated base ?not touched? count value. the delta is an instantaneous change and is updated once per sensor per sensing cycle (see section 4.2.1 - sensor cycle). the value presented is a standard 2?s complement nu mber. in addition, the value is capped at a value of 7fh. a reading of 7fh indicates that the sensit ivity settings are too high and should be adjusted accordingly (see section 5.5 ). the value is also capped at a negative value of ffh for negative delta counts which may result upon a release. 5.5 sensitivity control register the sensitivity control register controls the sensitivity of a touch detection. bits 6- 4 delta_sense[2:0] - contro ls the sensitivity of a touch dete ction. the sensitivity settings act to scale the relative delta coun t value higher or lower based on the system parameters. a setting of 000b is the most sensitive while a setting of 111b is the least sensitive. at the more sensitive settings, touches are detected for a smaller delta c correspondi ng to a ?lighter? touch. these settings are more sensitive to noise however and a noisy environment ma y flag more false touches than higher sensitivity levels. application note: a value of 128x is the most sens itive setting available. at the most sensitivity settings, the msb of the delta count register represents 64 out of ~25,000 which corresponds to a touch of approximately 0.25% of the base capacitance (or a c of 25ff from a 10pf base capacitance). conversely a val ue of 1x is the least sensitiv e setting available. at these table 5.5 sensor delta count registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 10h r sensor 1 delta count sign 64 32 16 8 4 2 1 00h 11h r sensor 2 delta count sign 64 32 16 8 4 2 1 00h 12h r sensor 3 delta count sign 64 32 16 8 4 2 1 00h 13h r sensor 4 delta count sign 64 32 16 8 4 2 1 00h 14h r sensor 5 delta count sign 64 32 16 8 4 2 1 00h 15h r sensor 6 delta count sign 64 32 16 8 4 2 1 00h table 5.6 data scaling register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 1fh r/w sensitivity control - del ta_sense[2:0] base_shift[3:0] 2fh
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 34 smsc cap1005 / cap1006 datasheet settings, the msb of the delta count register corresponds to a delta count of 8192 counts out of ~25,000 which corresponds to a touch of approximately 33% of the base capacitance (or a c of 3.33pf from a 10pf base capacitance). bits 3 - 0 - base_shift[3:0] - contro ls the scaling an d data presentation of the base count registers. the higher the value of these bits, the larger the range and the lower the resolution of the data presented. the scale factor repres ents the multiplier to the bit-we ighting presented in these register descriptions. application note: the base_shift[3:0] bits normall y do not need to be updated. t hese settings will not affect touch detection or sensitivity. these bits ar e sometimes helpful in analyzing the cap sensing board performance and stability. table 5.7 delta_sense bit decode delta_sense[2:0] sensitivity multiplier 210 0 0 0 128x (most sensitive) 001 64x 0 1 0 32x (default) 011 16x 100 8x 101 4x 110 2x 1 1 1 1x - (least sensitive) table 5.8 base_shift bit decode base_shift[3:0] data scaling factor 32 1 0 00 0 0 1x 00 0 1 2x 00 1 0 4x 00 1 1 8x 01 0 0 16x 01 0 1 32x 01 1 0 64x 0 1 1 1 128x 1 0 0 0 256x all others 256x (default = 1111b)
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 35 revision 1.0 (06-16-09) datasheet 5.6 configuration register the configuration register controls general glo bal functionality that af fects the entire device. bit 7 - timeout - enables the timeout and idle functionality of the smbus protocol. ? ?0? (default) - the smbus timeout and idle functi onality are disabled. the smbus interface will not time out if the clock line is held low. likewise, it will not reset if both the data and clock lines are held high for longer than 150us. this is used for i 2 c compliance. ? ?1? - the smbus timeout and idle functionality are enabled. the smbus interfac e will time out if the clock line is held low for longer than 30ms. likewise, it will reset if both the data and clock lines are held high for longer than 150us. bit 5 - blk_dig_noise - determines whether the digital noise threshold is used by the device. ? ?0? - the digital noise threshold is used. if a delt a count value exceeds the noise threshold but does not exceed the touch threshold, then the sample is discarded and not used for the automatic re- calibration routine. ? ?1? (default) - the noise threshold is not used. an y delta count that is less than the touch threshold is used for the automatic re-calibration routine. bit 4 - blk_ana_noise - determines whether t he analog noise flag setting will block a touch detection as well as the analog calibration routine. ? ?0? (default) - if the analog noise bit is set, then a touch is blocked on the corresponding channel and will force the analog calibration routine to retry. ? ?1? - a touch is not blocked even if the analog no ise bit is set. likewise, the analog calibration routine will not retry if the analog noise bit is set. bit 3 - max_dur_en - determines whether the maximum duration recalibration is enabled for non- grouped sensors. ? ?0? (default) - the maximum duratio n recalibration functionality is disabled. a touch may be held indefinitely and no re-calibration will be performed on any sensor. ? ?1? - the maximum duration recalibration functionality is enabled. if a touch is held for longer than the max_dur bit settings, then the re-ca libration routine will be restarted (see section 5.8 ). 5.7 sensor enable registers the sensor enable registers determine whether a capacitive touch sensor input is included in the sampling cycle. the length of the sampling cycle is not affected by the number of sensors measured. bit 5 - cs6_en - enables the cs6 input to be included during the sampling cycle. ? ?0? - the cs6 input is not included in the sampling cycle. table 5.9 configuration register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 20h r/w configuration timeout - blk_ dig_ noise blk_ ana_ noise max_dur_ en - - - 20h table 5.10 sensor enable registers addrr/wregisterb7 b6 b5b4b3b2b1b0default 21h r/w sensor enable - - cs6_en cs5_en cs4_en cs3_en cs2_en cs1_en 3fh
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 36 smsc cap1005 / cap1006 datasheet ? ?1? (default) - the cs6 input is included in the sampling cycle. bit 4 - cs5_en - enables the cs5 input to be included during the sampling cycle. bit 3 - cs4_en - enables the cs4 input to be included during the sampling cycle. bit 2 - cs3_en - enables the cs3 input to be included during the sampling cycle. bit 1 - cs2_en - enables the cs2 input to be included during the sampling cycle. bit 0 - cs1_en - enables the cs1 input to be included during the sampling cycle. 5.8 sensor configuration register the sensor configuration register controls timings associated with the capacitive sensor channels 1 - 6. bits 7 - 4 - max_dur[3:0] - (default 1010b) - determines the maximum time that a sensor is allowed to be touched until the capacitive touch sensor is recalibrated as shown in table 5.12 . table 5.11 sensor configuration register addrr/w register b7 b6 b5b4b3b2b1b0default 22h r/w sensor configuration max_dur[3:0] rpt_rate[3:0] a4h
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 37 revision 1.0 (06-16-09) datasheet bits 3 - 0 - rpt_rate[3:0] - (default 0100b) determines the time duration between interrupt assertions when auto repeat is enabled. the resolution is 35ms the range is from 35ms to 560ms as shown in table 5.13 . table 5.12 max_dur bit decode max_dur[3:0] time before recalibration 321 0 0 0 0 0 560ms 0 0 0 1 840ms 0 0 1 0 1120ms 0 0 1 1 1400ms 0 1 0 0 1680ms 0 1 0 1 2240ms 0 1 1 0 2800ms 0 1 1 1 3360ms 1 0 0 0 3920ms 1 0 0 1 4480ms 1 0 1 0 5600ms 1 0 1 1 6720ms 1 1 0 0 7840ms 1 1 0 1 8906ms 1 1 1 0 10080ms 1 1 1 1 11200ms table 5.13 rpt_rate bit decode rpt_rate[3:0] or m_press[3:0] interrupt repeat rate or m_press time 3210 0000 35ms 0001 70ms 0 0 1 0 105ms 0 0 1 1 140ms 0 1 0 0 175ms 0 1 0 1 210ms 0 1 1 0 245ms
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 38 smsc cap1005 / cap1006 datasheet 5.9 sensor configuration 2 register bits 3- 0 - m_press[3:0] - (default 0111b) - dete rmines the minimum amount of time that sensors configured to use auto repeat must detect a sensor touch to detect a ?press and hold? event. if the sensor detects a touch fo r longer than the m_press[ 3:0] settings, then a ?press and hold? event is detected. this is the maximum amount of ti me that sensors can detect a sens or touch to differentiate between a ?touch? and a ?press and hold?. if a sensor detects a touch for less than or equal to the m_press[3:0] settings , then a touch event is detected. the resolution is 35ms the range is from 35ms to 560ms as shown in table 5.13 . 5.10 averaging and sampling configuration register the averaging and sampling configuration register controls the number of samples taken and the total sensor cycle time for all active sensors while the device is functioning normally. bits 5 - 3 - avg[2:0] - determines the number of samples that are taken for all active channels during the sensor cycle as shown in table 5.16 . all samples are taken consecutively on the same channel 0 1 1 1 280ms 1 0 0 0 315ms 1 0 0 1 350ms 1 0 1 0 385ms 1 0 1 1 420ms 1 1 0 0 455ms 1 1 0 1 490ms 1 1 1 0 525ms 1 1 1 1 560ms table 5.14 sensor configuration 2 register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 23h r/w sensor configuration 2 - - - - m_press[3:0] 07h table 5.15 averaging and sampling configuration register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 24h r/w averaging and sampling config avg[2:0] samp_ time cycle_time [1:0] 1dh table 5.13 rpt_rate bit decode (continued) rpt_rate[3:0] or m_press[3:0] interrupt repeat rate or m_press time 3210
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 39 revision 1.0 (06-16-09) datasheet before the next channel is sampled and the result is averaged over the number of samples measured before updating the measured results. for example, if cs1, cs2, and cs 3 are sampled during the sensor c ycle, and the avg[2:0] bits are set to take 4 samples per channel, then the full s ensor cycle will be: cs1, cs 1, cs1, cs1, cs2, cs2, cs2, cs2, cs3, cs3, cs3, cs3. bit 2 - samp_time - dete rmines the sampling time. ? ?0? - the sampling time is ~2.56ms for each sensor. ? ?1? (default) - the sampling time is ~1.28ms for each sensor. bits 1 - 0 - cycle_time[1:0] - determines the ov erall cycle time for all measured channels during normal operation as shown in ta b l e 5 . 1 7 . all measured channels are sampled at the beginning of the cycle time. if additional time is remaining, then th e device is placed into a lower power state for the remaining duratio n of the cycle. application note: the programmed cycle time is only maintained if the total averaging ti me for all samples is less than the programmed cycle. the avg[2:0] bits will take pr iority so that if more samples are required than would normally be allowed during the cycle time, the cycle time will be extended as necessary to accommodate t he number of samples to be measured. table 5.16 avg bit decode avg[2:0] number of samples taken per measurement 210 000 1 001 2 010 4 0 1 1 8 (default) 100 16 101 32 110 64 1 1 1 128 table 5.17 cycle_time bit decode cycle_time[1:0] overall cycle time 10 00 35ms 0 1 70ms (default) 1 0 105ms 1 1 140ms
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 40 smsc cap1005 / cap1006 datasheet 5.11 calibration activate registers the calibration activate register force the respective sensors to be re-calibrated. when a bit is set, the corresponding capacitive touch sensor will be re-calibrated and the bit will be automatically cleared once the re-calibration routine has finished. during the re-calibration routine, the sensors will not detect a press for up to 600ms and the sensor base count register values will be invalid. during this time, any press on the corresponding sensors will invalidate the re-calibration. bit 5 - cs6_cal - when set, the cs6 input is re-calib rated. this bit is automatically cleared once the sensor has been re-calibrated successfully. bit 4 - cs5_cal - when set, the cs5 input is re-calib rated. this bit is automatically cleared once the sensor has been re-calibrated successfully. bit 3 - cs4_cal - when set, the cs4 input is re-calib rated. this bit is automatically cleared once the sensor has been re-calibrated successfully. bit 2 - cs3_cal - when set, the cs3 input is re-calib rated. this bit is automatically cleared once the sensor has been re-calibrated successfully. bit 1 - cs2_cal - when set, the cs2 input is re-calib rated. this bit is automatically cleared once the sensor has been re-calibrated successfully. bit 0 - cs1_cal - when set, the cs1 input is re-calib rated. this bit is automatically cleared once the sensor has been re-calibrated successfully. 5.12 interrupt enable register the interrupt enable registers determine whether a se nsor touch or release ca uses the interrupt pin to be asserted. bit 5 - cs6_int_en - enables the interrupt pin to be asserted if a touch is detected on cs6 (associated with the cs6 status bit). ? ?0? - the interrupt pin will not be asserted if a to uch is detected on cs6 (associated with the cs6 status bit). ? ?1? (default) - the interrupt pin will be asserted a touch is detected on cs6 (associated with the cs6 status bit). bit 4 - cs5_int_en - enables the interrupt pin to be asserted if a touch is detected on cs5 (associated with the cs5 status bit). bit 3 - cs4_int_en - enables the interrupt pin to be asserted if a touch is detected on cs4 (associated with the cs4 status bit). table 5.18 calibration activate registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 26h r/w calibration activate - - cs6_cal cs5_cal cs4_cal cs3_cal cs2_cal cs1_cal ffh table 5.19 interrupt enable register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 27h r/w interrupt enable -- cs6_ int_en cs5_ int_en cs4_ int_en cs3_ int_en cs2_ int_en cs1_ int_en 3fh
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 41 revision 1.0 (06-16-09) datasheet bit 2 - cs3_int_en - enables the interrupt pin to be asserted if a touch is detected on cs3 (associated with the cs3 status bit). bit 1 - cs2_int_en - enables the interrupt pin to be asserted if a touch is detected on cs2 (associated with the cs2 status bit). bit 0 - cs1_int_en - enables the interrupt pin to be asserted if a touch is detected on cs1 (associated with the cs1 status bit). 5.13 repeat rate enable register the repeat rate enable register determines the interrupt behavior of the buttons as described in section 4.3.1 . bit 5 - cs6_rpt_en - enables the repeat rate for capacitive touch sensor 6. ? ?0? - the repeat rate for cs6 is disabled. it will only generate an interrupt when a touch is detected and when a release is detected no matt er how long the touch is held for. ? ?1? (default) - the repeat rate for cs6 is enabled. in the case of a ?touch? event, it will generate an interrupt when a touch is detected and a release is detected. in the case of a ?press and hold? event, it will generate an interrupt when a touch is detected and at the repeat rate so long as the touch is held. it will not generate an interrupt when a release is detected. bit 4 - cs5_rpt_en - enables the repeat rate for capacitive touch sensor 5. bit 3 - cs4_rpt_en - enables the repeat rate for capacitive touch sensor 4. bit 2 - cs3_rpt_en - enables the repeat rate for capacitive touch sensor 3. bit 1 - cs2_rpt_en - enables the repeat rate for capacitive touch sensor 2. bit 0 - cs1_rpt_en - enables the repeat rate for capacitive touch sensor 1. 5.14 multiple touch configuration register the multiple touch configuration regi ster controls the settin gs for the multiple t ouch detection circuitry. these settings determine the number of simultaneous buttons that may be pressed before action is taken. bit 7 - mult_blk_en - enables the multiple button blocking circuitry. ? ?0? - the multiple touch circuitry is disabl ed. the device will not block multiple touches. ? ?1? (default)- the multiple touch circuitry is en abled. the device will accept the number of touches equal to programmed multiple touch threshold and block all others. it will remember which sensor is valid and block all others until that sensor has been released. table 5.20 repeat rate enable register addrr/wregisterb7b6b5b4b3b2b1b0default 28h r/w repeat rate enable -- cs6_ rpt_en cs5_ rpt_en cs4_ rpt_en cs3_ rpt_en cs2_ rpt_en cs1_ rpt_en 3fh table 5.21 multiple touch configuration addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 2ah r/w multiple touch config mult_ blk_en - - - b_mult_t[1:0] - - 80h
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 42 smsc cap1005 / cap1006 datasheet bits 3 - 2 - b_mult_t[1:0] - determines the number of simultaneous touches on all sensors before a multiple touch event is flagged. if the number of multiple sensors touc hed is greater than the threshold value then a multiple touch event is flagged. the bit decode is given by ta b l e 5 . 2 2 . 5.15 recalibration configuration register the recalibration configuration regi ster controls the autom atic re-calibration routine settings as well as advanced controls to program the sensor threshold register settings. bit 7 - but_ld_th - enables setting all sensor threshold registers by writing to the sensor 1 threshold register. ? ?0? - each sensor x threshold register is updated individually. ? ?1? (default) - writing the sensor 1 threshold re gister will automatically overwrite the sensor threshold registers for all sensors (sensor threshold 1 through sensor threshold 6). the individual sensor x threshold registers (sensor 2 threshold through sensor 6 threshold) can be individually updated at any time. bits 4 - 3 - neg_delta_cnt[1:0] - determines th e number of negative delta counts necessary to trigger a digital re-calibration as shown in ta b l e 5 . 2 4 . table 5.22 b_mult_t bit decode b_mult_t[1:0] number of simultaneous touches 10 0 0 1 (default) 01 2 10 3 11 4 table 5.23 recalibration configuration registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 2fh r/w recalibration configuration but_ ld_th -- neg_delta_ cnt[1:0] cal_cfg[2:0] 8bh table 5.24 neg_delta_cnt bit decode neg_delta_cnt[1:0] number of consecut ive negative delta count values 10 00 8 0 1 16 (default) 10 32 1 1 none (disabled)
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 43 revision 1.0 (06-16-09) datasheet bits 2 - 0 - cal_cfg[2:0] - determines the update ti me and number of samples of the automatic re- calibration routine. the settings applies to all sensors universally (though individual sensors can be configured to support re-calibration - see section 5.11 ). note 5.1 recalibration samples refers to the number of samples that are measured and averaged before the base count is updated. note 5.2 update time refers to the amount of time (i n polling cycle periods) that elapses before the base count is updated. 5.16 sensor threshold registers the sensor threshold registers store the delta thresh old that is used to determine if a touch has been detected. when a touch occurs, the input signal of the corresponding sensor changes due to the capacitance associated with a touch. if the sensor input change exceeds the threshold settings, then a touch is detected. table 5.25 cal_cfg bit decode cal_cfg[2:0] recalibration samples (see note 5.1 ) update time (see note 5.2 ) 210 0 0 0 16 16 001 32 32 010 64 64 0 1 1 256 256 (default) 1 0 0 256 1024 1 0 1 256 2048 1 1 0 256 4096 1 1 1 256 7936 table 5.26 sensor threshold registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 30h r/w sensor 1 threshold -6432168421 40h 31h r/w sensor 2 threshold -6432168421 40h 32h r/w sensor 3 threshold -6432168421 40h 33h r/w sensor 4 threshold -6432168421 40h 34h r/w sensor 5 threshold -6432168421 40h 35h r/w sensor 6 threshold -6432168421 40h
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 44 smsc cap1005 / cap1006 datasheet when the but_ld_th bit is set (see section 5.15 - bit 7), writing data to the sensor 1 threshold register will update all of the sensor threshold registers (31h - 37h inclusive). 5.17 sensor noise threshold registers the sensor noise threshold registers control the va lue of a secondary internal threshold to detect noise and improve the automatic recalibration routine. if a capacitive touch sensor output exceeds the sensor noise threshold but does not exceed th e sensor threshold, then it is determined to be caused by a noise spike. that sample is no t used by the automatic re-calibration routine. the sensor noise threshold is proportional to the programmed threshold as shown in ta b l e 5 . 2 8 . 5.17.1 sensor noise threshold 1 register the sensor noise threshold 1 register controls the noise threshold for capacitive touch sensors 1-4. bits 7-6 - cs4_bn_th[1:0] - controls the noise threshold for capacitive touch sensor 4. bits 5-4 - cs3_bn_th[1:0] - controls the noise threshold for capacitive touch sensor 3. bits 3-2 - cs2_bn_th[1:0] - controls the noise threshold for capacitive touch sensor 2. bits 1-0 - cs1_bn_th[1:0] - controls the noise threshold for capacitive touch sensor 1. 5.17.2 sensor noise threshold 2 register the sensor noise threshold 2 register controls the noise threshold for capacitive touch sensors 5 - 6. bits 3-2 - cs6_bn_th[1:0] - controls the noise threshold for capacitive touch sensor 6. bits 1-0 - cs5_bn_th[1:0] - controls the noise threshold for capacitive touch sensor 5. table 5.27 sensor noise threshold registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 38h r/w sensor noise threshold 1 cs4_bn_th [1:0] cs3_bn_th [1:0] cs2_bn_th [1:0] cs1_bn_th [1:0] 55h 39h r/w sensor noise threshold 2 0101 cs6_bn_th [1:0] cs5_bn_th [1:0] 55h table 5.28 csx_bn_th bit decode csx_bn_th[1:0] threshold divide setting 10 0025% 0 1 37.5% (default) 1050% 1162.5%
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 45 revision 1.0 (06-16-09) datasheet 5.18 standby channel register the standby channel register controls which (if any) capacitive touch sensors are active during standby. bit 5 - cs6_stby - controls whether the cs6 channel is active in standby. ? ?0? (default) - the cs6 channel not be sampled during standby mode. ? ?1? - the cs6 channel will be sampled during standby mode. it will use the standby threshold setting, and the standby averagi ng and sensitivity settings. bit 4 - cs5_stby - controls whether the cs5 channel is active in standby. bit 3 - cs4_stby - controls whether the cs4 channel is active in standby. bit 2 - cs3_stby - controls whether the cs3 channel is active in standby. bit 1 - cs2_stby - controls whether the cs2 channel is active in standby. bit 0 - cs1_stby - controls whether the cs1 channel is active in standby. 5.19 standby configuration register the standby configuration register controls averagin g and cycle time for those sensors that are active in standby. bit 7 - avg_sum - determines whether the active sensors will average the programmed number of samples or whether they will accumulate for the programmed number of samples. ? ?0? - (default) - the active sensor delta count values will be based on the average of the programmed number of samples when compared against the threshold. ? ?1? - the active sensor delta count values w ill be based on the summ ation of the programmed number of samples when compared against the threshold. bits 5 - 3 - stby_avg[2:0] - determines the number of samples that are taken for all active channels during the sensor cycle as shown in ta b l e 5 . 3 1 . all samples are taken consecutively on the same channel before the next channel is sampled and the result is averaged over the number of samples measured before updating the measured results. table 5.29 standby channel register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 40h r/w standby channel -- cs6_ stby cs5_ stby cs4_ stby cs3_ stby cs2_ stby cs1_ stby 00h table 5.30 standby configuration register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 41h r/w standby configuration avg_ sum - stby_avg[2:0] stby_ samp_ time stby_cy_time [1:0] 1dh
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 46 smsc cap1005 / cap1006 datasheet bit 2 - stby samp_time - determines the sampling time used while in standby. ? ?0? - the sampling time is ~2.56ms for each sensor. ? ?1? (default) - the sampling time is ~1.28ms for each sensor. bits 1 - 0 - stby_cy_time[2:0] - determines the ov erall cycle time for all measured channels during normal operation as shown in ta b l e 5 . 1 7 . all measured channels are sampled at the beginning of the cycle time. if additional time is remaining, then th e device is placed into a lower power state for the remaining duratio n of the cycle. application note: the programmed cycle time is only maintained if the total averaging ti me for all samples is less than the programmed cycle. the stby_avg[2:0] bits will take priority so that if more samples are required than would normally be allowed during the cycle time, the cycle time will be extended as necessary to accommodate the number of samples to be measured. table 5.31 stby_avg bit decode stby_avg[2:0] number of samples taken per measurement 210 000 1 001 2 010 4 0 1 1 8 (default) 100 16 101 32 110 64 1 1 1 128 table 5.32 stby_cy_time bit decode stby_cy_time[1:0] overall cycle time 10 00 35ms 0 1 70ms (default) 1 0 105ms 1 1 140ms
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 47 revision 1.0 (06-16-09) datasheet 5.20 standby sensitivity register the standby sensitivity register controls the sensitivity for sens ors that are active in standby. bits 2 - 0 - stby_sense[2:0] - controls the sensitiv ity for sensors that are active in standby. the sensitivity settings act to scale the relative delta count value higher or lower based on the system parameters. a setting of 000b is the most sensitive wh ile a setting of 111b is the least sensitive. at the more sensitive settings, touches are detected for a smaller delta c corresponding to a ?lighter? touch. these settings are more sensitive to noise however and a noisy environment may flag more false touches than higher sensitivity levels. application note: a value of 128x is the most sens itive setting available. at the most sensitivity settings, the msb of the delta count register represents 64 out of ~25,000 which corresponds to a touch of approximately 0.25% of the base capacitance (or a c of 25ff from a 10pf base capacitance). conversely a val ue of 1x is the least sensitiv e setting available. at these settings, the msb of the delta count register corresponds to a delta count of 8192 counts out of ~25,000 which corresponds to a touch of approximately 33% of the base capacitance (or a c of 3.33pf from a 10pf base capacitance). 5.21 standby threshold register table 5.33 standby configuration register addrr/wregister b7 b6 b5b4b3b2b1b0default 42h r/w standby sensitivity - - - - - stby_sense[2:0] 02h table 5.34 stby_sense bit decode stby_sense[2:0] sensitivity multiplier 210 0 0 0 128x (most sensitive) 001 64x 0 1 0 32x (default) 011 16x 100 8x 101 4x 110 2x 1 1 1 1x - (least sensitive) table 5.35 standby threshold register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 43h r/w standby threshold -6432168421 40h
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 48 smsc cap1005 / cap1006 datasheet the standby threshold registers stores the delta th reshold that is used to determine if a touch has been detected. when a touch occurs , the input signal of the corresponding sensor changes due to the capacitance associated with a touch. if the sensor input change exceeds the threshold settings, then a touch is detected. 5.22 sensor base count registers the sensor base count registers store the calibra ted ?not touched? input value from the capacitive touch sensor inputs. these registers are periodi cally updated by the re-calibration routine. the routine uses an internal adder to add the current count value for each reading to the sum of the previous readings until sample size has been reac hed. at this point, the upper 16 bits are taken and used as the sensor base count. the internal adder is then reset and the re-calibration routine continues. the data presented is determined by the base_shift[3:0] bits (see section 5.5 ). 5.23 product id register the product id register stores a unique 8-bit value that identifies the device. table 5.36 sensor base count registers addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default 50h r sensor 1 base count 128 64 32 16 8 4 2 1 c8h 51h r sensor 2 base count 128 64 32 16 8 4 2 1 c8h 52h r sensor 3 base count 128 64 32 16 8 4 2 1 c8h 53h r sensor 4 base count 128 64 32 16 8 4 2 1 c8h 54h r sensor 5 base count 128 64 32 16 8 4 2 1 c8h 55h r sensor 6 base count 128 64 32 16 8 4 2 1 c8h table 5.37 product id register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default fdh r product id cap1006 01000100 44h product id cap1005 01000101 45h
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 49 revision 1.0 (06-16-09) datasheet 5.24 manufacturer id register the vendor id register stores an 8-bit value that represents smsc. 5.25 revision register the revision register stores an 8-bit va lue that represents the part revision. table 5.38 vendor id register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default feh rmanufacturer id01011101 5dh table 5.39 revision register addr r/w register b7 b6 b5 b4 b3 b2 b1 b0 default ffhr revision 10000000 80h
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 50 smsc cap1005 / cap1006 datasheet chapter 6 package information 6.1 cap1006 and cap100 5 package drawings figure 6.1 10-pin dfn 3mm x 3mm package drawing
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 51 revision 1.0 (06-16-09) datasheet figure 6.2 10-pin dfn 3mm x 3mm package dimensions figure 6.3 10-pin dfn 3mm x 3mm pcb footprint
5 and 6 channel capacitive touch sensor datasheet revision 1.0 (06-16-09) 52 smsc cap1005 / cap1006 datasheet 6.2 package marking figure 6.4 cap1006 package markings figure 6.5 cap1005 package markings bottom line 1: device, version, first 2 of last 6 digits of lot number line 2: last 4 digits of lot number lines 1 & 2: center horizontal alignment pb-free/green symbol (ni/pd pp-lf) 2x 0.6 top e4 pin 1 6v line 3: as shown bottom marking is not allowed bottom line 1: device, version, first 2 of last 6 digits of lot number line 2: last 4 digits of lot number lines 1 & 2: center horizontal alignment pb-free/green symbol (ni/pd pp-lf) 2x 0.6 top e4 pin 1 51 line 3: as shown bottom marking is not allowed
5 and 6 channel capacitive touch sensor datasheet smsc cap1005 / cap1006 53 revision 1.0 (06-16-09) datasheet chapter 7 revision history table 7.1 customer revision history revision level & date secti on/figure/entr y correction rev. 1.0 (06-11-09) section 6.2, "package marking" updated package markings rev. 1.0 (06-11-09) grammar and/or formatting changes throughout document rev. 1.0 (06-10-09) features and general description modified rev. 1.0 (06-10-09) section 3.7, "bc-link interface (cap1006-2 only)" removed ?8051? from 2nd paragraph rev. 1.0 (06-10-09) pin description pin tables modified adding spi to ?alert# / bc_irq#? pin y/rev. 1.0 (06-10-09) chapter 4, general description second to last paragraph removed, not needed as clarification follows rev. 1.0 (06-10-09) section 4.1, "power states" removed mention of led driver outputs rev. 1.0 (06-08-09) features table 2.1, "absolute maximum ratings" ?system reset pin? removed table and notes following table modified rev. 1.0 (06-04-09) table 5.1, "register set in hexadecimal order" updated text and register descriptions for incorrect #?s cap sense channels rev 1.0 (06-04-09) figure 3.1, "spi timing" updated figure rev. 1.0 (06-02-09) document title modified from: ?multiple channel capacitive touch sensor and led driver? to: ?multiple channel capacitive touch sensor? rev. 1.0 (06-02-09) note following table 2.1, "absolute maximum ratings" text modified from ?0.3 (12mil)? to ?0.3mm (12mil)? rev. 0.56 (5/1/09) general fixed typos and updated text as necessary. cleaned up system diagrams rev. 0.54 (4/24/09) general fixed typos rev. 0.54 (4/24/09) section 5.5, "sensitivity control register" renamed bit fields rev. 0.54 (4/24/09) section 5.6, "configuration register" renamed bits 5 and 6 rev. 0.53 (4/23/09) section 3.4, "spi interface (cap1005 only)" updated section to describe normal operation rev. 0.52 (4/17/09) general initial document creation


▲Up To Search▲   

 
Price & Availability of CAP1006-2-AIA-TR

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X